Skip to content

Allow version matching by slug on CurseForge - #182

Closed
ThexXTURBOXx wants to merge 1 commit into
Kira-NT:mainfrom
ThexXTURBOXx:fix-ml
Closed

ThexXTURBOXx wants to merge 1 commit into
Kira-NT:mainfrom
ThexXTURBOXx:fix-ml

Conversation

@ThexXTURBOXx

@ThexXTURBOXx ThexXTURBOXx commented Oct 10, 2026 •

Copy link
Copy Markdown

When trying to target Risugami's ModLoader on CurseForge, risugamis-modloader does not work due to the matcher only trying to match against the name, which is flakey because of the ' and (apostrophe and space).
This PR also enables matching against the slug, which works without problems (tested in Block Helper for most versions between b1.6.6 and 1.5.2).

@ThexXTURBOXx

Copy link
Copy Markdown
Author

Seems like there have been other changes that made this possible somehow without the slug (i.e., by specifying risugami's modloader). This yielded problems in 3.3.0, but seems to work now in 3.3.1.
So, this PR is now rather "optional".

@Kira-NT

Kira-NT commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Hi!

I actually saw you struggling with uploading mods targeting this mod loader, so when I released v3.3.1, I addressed the issue directly. If you check the changelog:

The modloader loader value is now recognized as Risugami's ModLoader when uploading to CurseForge, the same way it has always been for Modrinth

Given that mc-publish serves as a unified API wrapper over CurseForge and Modrinth, this is the solution I'm going forward with, because I want loader names to remain consistent across publishing targets.

As for matching versions by their slugs in general, there was a reason I chose to match them by name instead. To be quite frankly honest with you, I no longer remember what the exact reason was, but matching by slugs did break some scenarios the old me never bothered to add to the test suite...

Anyways, hope this helps! :3

@Kira-NT Kira-NT closed this Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants